package com.kfm.pm;

import java.util.Random;
import java.util.Scanner;

public class Demo03 {

    public static void main(String[] args) {
        int a = 10;
        System.out.println(a);  // 10

        int[] arr = new int[]{11, 22, 33}; // 静态初始化
        System.out.println(arr);  // 地址

        System.out.println(arr[1]); // 22

        arr[0] = 44;
        arr[1] = 55;
        arr[2] = 66;

        System.out.println(arr[0]); // 44
        System.out.println(arr[1]); // 55
        System.out.println(arr[2]); // 66

        Scanner sc = new Scanner(System.in);
        System.out.println(sc);
        Random rand = new Random();
        System.out.println(rand);
    }
}
